#include "dpm_service.h"

DPM_Service::DPM_Service(QObject *parent) : QObject(parent)
{
    this->config =new DPM_Config(this);
    this->client =new HG_DeviceDataServer(this);

    this->DMA =new DataMonitoringAnalysis(this);
      connect(DMA, SIGNAL(flushMsg(const QString& )), this, SLOT(nMessage(const QString&)));

}

void DPM_Service::nMessage(const QString& msg){

     this->client->send(msg);
}
